ImagXpress 13 for ActiveX - User Guide > How To > Use the Touch Capability > Enable Built-in Touch Support |
If Touch support is enabled (gestures are enabled by default), the ImagXpress control already has built-in support for responding to the gestures. There is no built-in support for flicks.
The gestures with built-in support are:
For instance, if the user does a panning gesture, the image will pan in the same direction. If the user does a rotating gesture then the image will rotate in 90° increments in the direction that the user rotated. The rotation gesture is unique in that the developer can set both an angle threshold that specifies at what angles a 90° rotation should occur and also the minimum angle threshold that the user must rotate their fingers to specify that at least one rotation occurs. The property that determines what angles in the user’s rotation of their fingers triggers a 90° rotation of the image is called TouchImageRotationTriggerAngle. The property that determines the minimum threshold the user’s finger must rotate for at least one 90° rotation of the image to occur when the rotation gesture has ended is called TouchImageRotationMinimumAngle.
The built-in gesture support can be enabled or disabled individually so that the developer can choose. The following properties control whether the built-in support is turned on or off:
If enabled, the gesture’s event will fire whether built-in support is turned on or off for the gesture.